<?php /* Smarty version Smarty-3.1.12, created on 2016-07-11 14:34:20
         compiled from "D:\phpStudy\WWW\demonew\dm\xycms\cache.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2857757833dec5be440-09897802%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6b52aaa56e23087f85e1c3a048555dff50dbdf71' => 
    array (
      0 => 'D:\\phpStudy\\WWW\\demonew\\dm\\xycms\\cache.tpl',
      1 => 1429337786,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2857757833dec5be440-09897802',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'page_charset' => 0,
    'copyright_author' => 0,
    'action' => 0,
    'config' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_57833dec61b531_44748757',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_57833dec61b531_44748757')) {function content_57833dec61b531_44748757($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_smarty_tpl->tpl_vars['page_charset']->value;?>
">
<title>缓存管理</title>
<meta name="author" content="<?php echo $_smarty_tpl->tpl_vars['copyright_author']->value;?>
" />
<link type="text/css" rel="stylesheet" href="xycms/css/admin.css" media="screen" />
<link type="text/css" rel="stylesheet" href="xycms/css/other.css" media="screen" />
<script type='text/javascript' src='js/jquery-1.8.3.min.js'></script>
<script type='text/javascript' src='js/command.js'></script>
</head>
<body>
<?php if ($_smarty_tpl->tpl_vars['action']->value==''){?>
<div class="main-wrap">
  <div class="path"><p>当前位置：系统设置<span>&gt;&gt;</span>站点缓存优化</p></div>
  <div class="main-cont">
	<h3 class="title">站点缓存优化（如果网站不常更新，建议开启缓存，以提高站点访问速度）</h3>
    <form name="myform" method="post" action="cache.php">
    <input type="hidden" name="action" value="savecache" />
	<table cellpadding='5' cellspacing='5' class='tab'>
	  <tr>
		<td class="hback_none" width="15%">是否开启缓存： </td>
		<td class="hback" width="85%"><input type="radio" name="cachstatus" value="1"<?php if ($_smarty_tpl->tpl_vars['config']->value['cachstatus']==1){?> checked<?php }?> />开启，<input type="radio" name="cachstatus" value="0"<?php if ($_smarty_tpl->tpl_vars['config']->value['cachstatus']==0){?> checked<?php }?> />关闭</td>
	  </tr>
	  <tr>
		<td class='hback_none'>缓存持续时间：</td>
		<td class='hback_none'><input type="text" name="cachtime" id="cachtime" size="10" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['cachtime'];?>
" /> 分钟</td>
	  </tr>
	  <tr>
		<td class='hback_none'></td>
		<td class='hback_none cache'><input type="submit" name="btn_save" class="button" value="更新保存" /><span><a href="cache.php?action=clearcache">清除缓存</a></span></td>
	  </tr>
	</table>
	</form>
  </div>
  <div style="clear:both;"></div>
</div>
<?php }?>
</body>
</html><?php }} ?>